GET MAXIMUM LIGHTS

This command will return the maximum number of lights you can have in any 3D scene.

  Syntax
Return Integer=GET MAXIMUM LIGHTS()
  Returns

This command will return the maximum number of lights you can have in any 3D scene

  Description

It is determined by the 3D device you are currently using.

  Example Code
sync on : sync rate 60 : hide mouse:cls 0
while mouseclick()=0
set cursor 0,0
print "3D DEVICE DATA"
print "max lights:";get maximum lights()
sync
endwhile
end
  See also

BASIC3D Commands Menu
Index